package top.melody.ecommerce.platform.dal.account;

import top.melody.ecommerce.common.util.page.Pagination;
import top.melody.ecommerce.platform.api.domain.account.AccountEnterpriseAuth;

import java.util.List;

/**
* @author: melody
* @groupId:rd
* @createdate:2016-10-18
* @mail: blentle.huan.ren@gmail.com
* @description:
* @since: 1.0
*/
public interface AccountEnterpriseAuthMapper {

    List<AccountEnterpriseAuth> queryByPage(AccountEnterpriseAuth record, Pagination page);

    Integer getCount(AccountEnterpriseAuth record);

    AccountEnterpriseAuth get(int accountAuthId);

    AccountEnterpriseAuth getByAccountId(int accountId);

    Integer insert(AccountEnterpriseAuth record);

    Integer insertSelective(AccountEnterpriseAuth record);

    Integer delete(AccountEnterpriseAuth record);

    Integer deleteByPrimaryKey(Object key);

    Integer updateByPrimaryKey(AccountEnterpriseAuth record);

    Integer updateByPrimaryKeySelective(AccountEnterpriseAuth record);
}